Part Number Hot Search : 
LG5040 MAX705 SMA5819 2SD1775A 8HRTZ 2N5401C EKK6111 HY57V
Product Description
Full Text Search
 

To Download GDM240128A Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 WORLDTECH LCD LTD
APPROVAL
Customer Part Name Model NO. Drawing NO. Approved by Date : : : : : :
SHEET
LCD MODULE GDM240128A
2005.06.03
Approved by
Checked by
Prepared by
Sheet code
2005-06-03
T
User's Manual
CONTENTS
1. Scope -------------------------------------------------------------2 2. Warranty ---------------------------------------------------------2 3. Features ---------------------------------------------------------2 4. Dimensional outline -----------------------------------------6 5. I/O terminals ----------------------------------------------------7 6. Quality level ---------------------------------------------------23 7. Reliability ------------------------------------------------------26 8. Handling precautions --------------------------------------26 9. Precaution for use ------------------------------------------28 10.Appendix -------------------------------------------------------28
-1-
User's Manual
1. Scope
This manual defines general provisions as well as inspection standards for LCD module supplied by Worldtech LCD LTD If the event of unforeseen problem or unspecified items may occur, please contact the nearest supplier or our company for solution.
2. Warranty
If module is not stored or used as specified in this manual, it will be void the 12 months warranty.
3. Features
3-1. Features: Display Mode: Transflective and Positive type STN LCD Display Color: Display Format: Input Data: Multiplexing Ratio: Viewing Angle: Back Light: Controller Type: Display Dots: Background: Black Light Gray
240(w)x128(h) full dots 8-bits parallel data interface from a MPU 1/128 Duty 6 o'clock LED backlight White
Display RAM Capacity: 32k byte S-RAM (built-in) T6963C (built-in) CG ROM/RAM Capacity: Built-in 128 words character generator (CG) ROM. 3-2Mechanical Specifications:
Item Dimensional Outline Number of Dots Number of Characters Viewing Area Active Area Dot Pitch Dot Size Weight Specifications 144.0(W)x104.0(H) x16.0 Max. 240(W) x128(H) Dots 40Cx16L(640) in case of 6x8 Fonts 30Cx16L(480) in case of 8x8 Fonts 114.0(W)x64.0(H) 107.95(W)x57.55(H) 0.45(W)x0.45(H) 0.40(W)x0.40(H) Approx. 180 Unit mm -- -- mm mm mm mm g
-2-
User's Manual 3-3 Absolute Maximum Rating
Item Supply Voltage Input Voltage Operating Temperature Storage Temperature Humidity Logic LCD drive Symbol Vdd Vdd - Vee Vi Top Tstg -- Min. -0.3 0 -0.3 -10 -20 -- Max. 7.0 28 Vdd+0.3 60 70 90 Unit V V V %RH Vss=0V Note Vss=0V
3-4 Electrical Characteristics: 3-4-1. Electrical Characteristics Note:
Supply Voltage Input Voltage Output Voltage
<1> Duty =1/128
Symbol Vdd Vdd-Vee Vih Vil Voh Vol Fflm Idd Iee Logic LCD drive "H" Level "L" Level "H" Level "L" Level
<2> All dots on static state
Conditions Min. 4. 5 -- Vdd=5V5% Vdd=5V5% Vdd=5V Vdd=5V Vdd-Vee=20.0V Fflm=75Hz Ta= -10 =0,=0 -- -- -- -- 5.4 20.8 20.0 19.5 9.8 -- -- -- V Vdd-2.2 0 Vdd-0.3 0 70 -- Typ. 5.0 20 -- -- -- -- 75 5.7 Max. 5. 5 25.0 Vdd 0.8 Vdd 0.3 80 10.0 mA Hz V Unit
Item
Frame Frequency Current Logic
Consumption LCD drive
LCD Driving Voltage (Recommended Voltage)
Vdd-Vee
Ta= 25 =0,=0 Ta= 60 =0,=0
3-4-2 Specifications for E/L backlight
Item Supply Voltage Supply Frequency Lifetime Luminous Color Operating Temperature Storage Temperature Unit V mA Hrs -- Standard Values Min. Typ. Max. -- -- 5.0 72 10000 White -30~70 -40 ~ 85 -- -- Conditions -- DC5.0 Vrms, Dark room Note <1> DC5.0Vrms, Dark room -- --
Note<1>: Half value of initial brightness at 20 60%RH
-3-
User's Manual 3-5 Electro-optical Characteristics:
Item LCD Driving Voltage (Recommended voltage) Symbol Vop Temp. -10 25 60 0 Response Time Decay Time Viewing Angle Contrast Ratio td K Rise Time tr 25 0 25 25 25 Vertical Horizontal =0,=0 =0,=0 -- -- -- -35 -30 2.0 150 3000 200 -- -- 5.0 200 3500 250 35 30 -- deg. -- 1,4,5 1,5,6 mS 1,3,5 =0,=0 Conditions Min. -- -- -- -- Typ. 20.8 20.0 19.5 1500 Max. 24.0 -- -- 2000 V 1,2,5 Unit Note
Note: <1> Definition ofand
<2> Contrast ratio higher than 2 (k2) can be obtained in this voltage range.
Note: <3>Definition of response time waveform Positive Display Negative Display
-4-
User's Manual Note: <4>Definition of viewing angle () =|1-2| Note: <5> Optical measuring system temperature regulated chamber
Note: <6> Definition of Contrast Ratio (K) Positive Display Negative Display
Contrast Ratio (K) =
Brightness of non-selected dot (B2) Brightness of selected dot (B1)
-5-
User's Manual
4. Dimensional Outline
-6-
User's Manual
5. I/O terminals
Note: The following explanation is applied for the module without built-in voltage converter. 5-1. I/O Connection
Pin No, 1 2 3 4 5 6 7~14 15 16 17 18 19 20 Symbol VSS VDD V0 C/D RD WR D0~D7 CE RES VEE MD2 FS LED+ Function Signal ground(GND) power supply for logic(+5V) Contrast adjustment H/L Register select signal Data read (Active at "L") Data write (Active at"L") Data Bus(D0=LSB,D7=MSB) Data read (Active at "L") Reset signal Power supply for LCD drive H=32,L=40 Font Select: Connected to Vdd: 6x8 dots font Connected to Vss: 8x8 dots font Power supply for backlight
5-2Signal Timing Diagram:
Item C/D set-up time C/D hold time CE,RD,WR pulse width Data set-up time Data hold time Access time Output hold time Symbol tcds tcdh tcp,trp,twp tds tdh tacc toh Vdd=5V5% Vss=0V Ta=25 Condition Min. 100 10 80 80 40 -- 10 Max. -- -- -- -- -- 150 50 ns Unit
-7-
User's Manual 5-3. Example of Power Supply
NC
Note: There is an end on the potentiometer for regulating contrast ratio. 5-4. Circuit Block Diagram The circuit block diagram is shown in the following figure. The LCD module needs
two power sources: Vdd for logic and Vee for LCD drive. Note: It is necessary to guard all signals from external noise as signal lines are directly connected to C-MOS and are not pull-up or pull-down internally. 5-5Application features of module: 1 2 This module can be directly connected to 8080MPU or Z80MPU. This module can be set to display in combined display of graphic and text
-8-
User's Manual (Contents of the text area and of the graphic area are displayed on the screen simultaneously by mode set.) and in attribute display of text mode. 3 4 5 6 MPU can access the DDRAM at any time in the mode of byte / bit operation. Character Font: 6x8 dots or 8x8 dots A status check must be performed before data or command are read or written. Both the column/line counter and display register are cleared by RESET. (Other registers are not cleared.) DDRAM is kept intact. Disable the display using the clear-display register. After power on, it is necessary to reset by software. 7 8 9 By the hardware setting, display columns are defined 40 characters long, maximum transferable amount of data every line. Display lines are defined 128 by hardware setting. This module has a 128-word character generator ROM (see appendix), and allocation of external character generator RAM can be made easily in DDRAM. 10 DDRAM can be allocated to text area, graphic area and external character area. The text home address and the graphic home address correspond to the display bit on the top left corner of the LCD panel. In 6 x8 dot matrix, one byte in the text area corresponds to a character on the screen. One byte in graphic area corresponds to 6x1 dot matrix on the screen (The lower 6 bits of a byte are valid). 11 Cursor display mode is on only in the text mode and what is displayed is the logic OR of cursor and the character where the cursor is. 12 For some commands that need operand data, it is important to send the operand data first and then the command code. 13 Text Attribute mode is only applicable in text mode. (In this case, text mode and graphic mode should both be on.) 14 The relationship between Text Area and display position in LCD panel is shown below:
TH TH+TA (TH+TA+TA (TH+2TA+TA ... TH+15TA TH+1 TH+TA+1 (TH+TA+TA+1 (TH+2TA+TA+1 ... TH+15TA+1 ... ... ... ... ... ... TH+CL TH+TA+CL TH+2TA+CL TH+3TA+CL ... TH+15TA+CL
-9-
User's Manual Note: TH: the text home address TA: the width of text area (number of characters /line), to be defined by user. CL: number of characters/line set by hardware, the CL of this module is 40. 15 The relationship between Graphic Area and display position in LCD panel is shown below:
GHDB7~DB0 GH+TA (GH+TA+TA (GH+2TA+TA ... GH+127TA GH+1 GH+TA+1 (GH+TA+TA+1 (GH+2TA+TA+1 ... GH+127TA+1 ... ... ... ... ... ... GH+CL GH+TA+CL GH+2TA+CL GH+3TA+CL ... GH+127TA+CL
Note: GH: the graphic home address TA: the width of graphic area (number of characters /line), to be defined by user. CL: number of characters/line set by hardware, the CL of this module is 40. Note: In Text mode or Graphic mode, when TACL, the relationship between the valid display area of the LCD panel and DDRAM address is detailed in 5-6-2. 5-6Commands The command of this module may have one operand datum, or two operand data or none). It is important to send the data first, and then to send the command code. If the number of the operand data is more than specified, the last are valid. The status check must be performed every time before the data and commands are read or written. The status word format is as follows: STA7 STA6 STA5 STA4 STA3 STA2 STA1 STA0 STA0: check command execution capability 1: enable 0: disable STA1: check data read/write capability 1: enable 0: disable STA2: check auto mode data read capability 1: enable 0: disable STA3: check auto mode data write capability 1: enable 0: disable STA4: not used STA5: check controller operation capability 1: enable 0: disable STA6: error flag. Used for screen peek and screen copy commands 1: error 0: no error STA7: check the blink condition 1: normal display 0: display off Note: 1. It is necessary to check STA0 and STA1 at the same time. There is a possibility of erroneous operation due to a hardware interrupt. 2. For most modes STA0/STA1 are used at a status check. - 10 -
User's Manual 3. STA2 and STA3 are valid in auto mode; STA0 and STA1 are invalid. 4. STA6 is valid in screen peek and screen copy mode. 5. STA5 and STA7 mirror the interior operational status. 5-6-1 Registers Setting, the format is as follows: D1,D2 0 0 1 0 0 N2 N1 N0 D1, D2 is the first and the second parameters respectively, and the last byte is command code. According to the values of N0, N1, N2, this command has three meanings.
D1 X Address (lower 7 bits are valid) Address (lower 5 bits are valid) Low address D2 Y Address (lower 5 bits are valid) 00H High address Code 21H (N0=1) 22H (N1=1) 24H (N2=1) Function Set cursor pointer Set offset register Set address pointer
A Set cursor pointer: D1 stands for the horizontal distance (number of characters) of cursor to the top left corner of the real LCD panel. D2 stands for the vertical distance (number of character lines). Setting and changing the cursor position must be performed through resetting the cursor pointer. The cursor pointer is not related to address pointer and has no auto change function. B Set CGRAM offset register: Set the high 5 bits of CGRAM's 16 bit address in DDRAM. The actual address of CGRAM is: Offset Adrs: C4 C3 C2 C1 C0 Char. Code: D7 D6 D5 D4 D3 D2 D1 D0 Line Adrs : + R2 R1 R0 Actual.Adrs.: A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 R2~R0: represent one line of the self-designed 8X8 dots characters. When the internal CGROM mode is set in mode set, the character code allocated to external character generator is 80H~FFH. When the external CGROM mode is set in mode set, the character code allocated to the external character generator is 00H~FFH. For example: when allocate the units of 1800H~1FFFH2Kin DDRAM to CGRAM, the offset register could be set to #03H. Thus, the address of character whose code is 80H in DDRAM is 1C00H~1C07H. B Set address pointer: set the unit address of DDRAM to be accessed. D1 and D2 are the low address and high address of the unit address respectively. 5-6-2 Control word setting, the command format is as follows: D1, D2 0 1 0 0 0 0 N1 N0 According to different values of N1 and N0, this command has four functions:
- 11 -
User's Manual
N1 0 0 1 1 N0 0 1 0 1 D1 Low adrs. Columns Low adrs. Columns D2 High adrs. 00H High adrs. 00H Code 40H 41H 42H 43H Function Set text home address Set text area (number of characters/line) Set graphic home address Set graphic area (number of characters/line)
The text home address corresponds to the character position on the top left corner of display panel. The graphic home address corresponds to the byte position on the top left corner of display panel. The text area (number of characters/line) set and graphic area (number of characters/line) set are used to adjust the width (column) of valid display screen. The width indicates the number of character or the number of bytes can be validly displayed. Define the width of display screen to be CL by hardware and the width of display screen to be TA by this commandthen the relationship between text area and its corresponding position on LCD panel is shown as follows: awhen TA<=CL:TH stands for the text home address TH ...... TH+TA-1 Blank TH+TA ...... TH+2TA-1 ...... ...... ...... ...... ...... ...... ------------------ TA valid display screen ------------------------------------------------------------ CL ----------------------------------------------bwhen TA>CL: TH ...... TH+CL-1 ...... TH+TA-1 TH+TA ...... TH+TA+CL-1 ...... TH+2TA-1 do not transfer ...... ...... ...... ...... ...... ...... ------------------ CL valid display screen -------------------------------------------------------------- TA ----------------------------------------------The way in which the graphic area corresponds to its position in display screen is similar to the way in which the text area corresponds to its position in display screen. The only difference is that in graphic area one byte corresponds to 8 bits graphic data. If the graphic area is defined to be the same number of characters/line of LCD, the home address of every line equals to end address of the previous line +1. 5-6-3Mode setting, the format of command is as follows: no parameter 1 0 0 0 N3: select character generator mode
- 12 -
N3
N2
N1
N0
User's Manual N3=1, select CGRAM and the character code is 00~FFH. N3=0, select internal CGROM. Since the character code of CGROM is 00~7FH, when take 80H~FFH as character code, CGRAM is automatically selected. N2~N0: Combined-display mode setting. The functions are shown below:
N2 0 0 0 1 N1 0 0 1 0 N0 0 1 1 0 Means of Combination "OR" mode "EXOR"mode "AND" mode Text attribute mode
Only when the text mode and graphic mode are both on, the combined display mode and text attribute mode settings are valid. After the text attribute setting, the graphic area will be converted into text attribute area and store the text attribute codes. The text attribute area is of the same size as text area. In addition, the text attribute codes of the character codes in text area are stored in the same address of graphic area. Every byte in the graphic area determines the feature of its corresponding character, including the normal display, reverse display, inhibit display, blink of normal display, blink of reverse display and blink of reverse display of characters. In the text attribute area, the text attribute codes of characters are made up with a byte's low four bits. D7 D6 D5 D4 D3 D2 D1 D0 * * * * d3 d2 d1 d0 d3: blink control. 1-blink, 0-no blink d2~d0 : d2 d1 d0 Function 0 0 0 Normal display 1 0 1 Reverse display 0 1 1 Inhibit display To work in the text attribute mode, the user could build an independent area in the DDRAM as text attribute area. In this case, the graphic home address should be converted into the text attribute home address, and thus keep the data in the previous graphic area. DDRAM could be divided as follows: Graphic area Text attribute area Text area CGRAM2K 5-6-4 Display mode setting, the format of command is as follows: no parameter 1 0 0 1 N3 N2 N1 N0
- 13 -
User's Manual N0: 1/0, cursor blink on/off N1: 1/0, cursor display on/off N2: 1/0, text display on/off N3: 1/0, graphic display on/off 5-6-5 Cursor pattern select, format is shown as below: no parameter 1 0 1 0 0 N2 N1 N0 The cursor pattern in 8 dots(segment)xN(line). The value of N is in the range of 1 line to 8 lines (00H~07H). 5-6-6 Data auto read/write mode: no parameter 1 0 1 1 0 0 N1 N0 Using this command, MPU could continuously read/write the data in DDRAM without inputting the read/write command every time. The address pointer is automatically increased by 1 after each datum. The Auto reset command must be sent after all data have been sent, to clear Auto mode. N1 and N0 function as below:
N1 0 0 1 N0 0 1 * Code B0H B1H B2H/B3H Function Set data auto write Set data auto read Auto reset
5-6-7 Data read/write mode, the format is shown below: D1, 1 1 0 0 0 N2 N1 N0 D1 N2 N1 N0 Code function Data 0 00 C0H Data write, ADP+1 Data 0 01 C1H Data read, ADP+1 Data 0 10 C2H Data write, ADP-1 ---- 0 11 C3H Data read, ADP-1 Data 1 00 C4H Date write, same ADP ---- 1 01 C5H Date read, same ADP 5-6-8Screen peek, the format of command is as follows: no parameter 1 1 1 0 0 0 0 0 This command is used to transfer 1 byte of displayed data positioned by current address pointer to the data stack; this byte can then be read from the MPU by data access. The logical combination of text and graphic display data on the LCD screen can be read by this command. The address pointer should be set in graphic area. 5-6-9Screen copy, the format of command is as follows: no parameter 1 1 1 0 1 0 0 0 The command copies a single raster line of data positioned by the address pointer (in graphic area) to the corresponding area in the graphic area. If the
- 14 -
User's Manual attribute function is being used, this command is not available. 5-6-10Bit set/reset: no parameter 1 1 1 1 N3 N2 N2 N0 This command is used to set or reset a bit of the byte specified by the address pointer. N3=1, set; N3=0, reset. N2~N0 corresponds to the D0~D7 bit. 5-7. Module and MPU connection MPU uses data bus and control lines to control the module by means of direct storage access or I/O access. Interface circuit is shown in following diagram: MPU: 8031
Data bus of 8031 is connected directly to the data bus of module. RD and WR of 8031 act as the read/write control signal of module. CE can be decoded by address bus. For example: output Y0 of IC 138 as CE.When test the module independently, CE could be grounded directly. ) Output A0 of 8031 address bus as C/D. A0=1 stands for the address of commandA0=0 stands for address of data. Each Subprogram is as follows: 1 Status read Registers to be used: R0, A; BF: MOV R0, #01H MOVX A, @ R0 RET
output register: A store status ; address of command ; read status
- 15 -
User's Manual Relevant subprograms could be derived from above-mentioned program: a. Subprogram of STA0 and STA1 status check, Before the command write and data write and readSTA0 and STA1 should both be defined to be "1": BF1: LCALL BF JNB ACC.0, BF1 ; STA0 status check JNB ACC.1, BF1 ; STA1 status check RET b. Subprogram of STA2 status check, STA2 should be checked between reading of each datum. STA2=1 should be confirmed before each reading during the continuous reading. BF2: LCALL BF JNB ACC.2, BF2 ;STA2 status check RET Similarly, subprogram of STA3 status check is listed as follows: BF3: LCALL BF JNB ACC.3, BF3 ; STA3 status check RET c. After the screen peek and screen copy commands, the STA6 status should be checked. STA6=0 indicates that the commands are correctly performed. For example: BF6: LCALL BF JB ACC.6, ERR ; STA6 status check RET ERR: *** *** ; error disposal program 2subprogram of writing command and data register to be used: R0, R2, R3, R4, A: input register: R2 is the first parameter, R3 is the second parameterR4 is the command code WR: LCALL BF1 : entrance of double parameter command MOV A, R2 LCALL WR4 WR1: LCALL BF1 ; entrance of single parameter command MOV A, R3 LCALL WR4 WR2: LCALL BF1 ; entrance of no parameter command - 16 -
User's Manual MOV A, R4 SJMP WR5 WR4: MOV R0, #00H ; entrance of writing data WR5: MOVX @ R0, A RET This program is generally used. When entering data and single parameter commands, the data and commands should be sent into R3. The entrance of subprogram is WR4 and WR1 respectively. The entrance of no parameter command is WR2. 3 subprogram of data writing register to be used: R0, A; output register: A store data RD: LCALL BF1 MOV R0, #00H MOVX A, @ R0 RET 5-8Example of Application Program The precondition is FS=0, that is, choose the 8X8dots. 5-8-1. Subprogram of clearing DDRAM CLR: MOV R2, #00H MOV R3, #00H MOV R4, #24H LCALL WR MOV R4, #0B0H LCALL WR2 MOV R2, #1FH CLR1: MOV R3, #0FFH CLR2: LCALL BF3 CLR A LCALL WR4 DJNZ R3, CLR2 DJNZ R2, CLR1 MOV R4, #0B3H LCALL WR2 RET 5-8-2. Subprogram of Initialization INI: LCALL CLR MOV R2, #00H
- 17 -
; RAM address=0000H ; set address pointer ; set data auto write ; auto write 8K byte ; check status STA3 ; write 00H
; auto reset
; set text area
User's Manual MOV R3, #00H MOV R4, #40H LCALL WR MOV R2, #1EH MOV R3, #00H MOV R4, #41H LCALL WR MOV R2, #00H ; set graphic area MOV R3, #08H MOV R4, #42H LCALL WR MOV R2, #1EH MOV R3, #00H MOV R4, #43H LCALL WR MOV R4, #80H ; set display mode LCALL WR2 MOV R4, #94H ; text on LCALL WR2 RET The following is an example which is to display" "in the top left corner of the screen. LCALL INI MOV R2, #00H MOV R3, #00H MOV R4, #24H LCALL WR MOV R3, #01H MOV R4, #0C0H LCALL WR1 RET 5-8-3. Set CGRAM Set offset register content 1 Set the matrix data and character codes of the characters. For example, the Chinese character "" choose the character codes , between 80H and FFH, then the matrix data and character codes of the character "" are defined as follows:
Structure of"" Top left Bottom left Top right matrix data character code 80H 81H 82H
04H, 04H, 04H, 04H, 04H, 7CH, 04H, 04H 04H, 04H, 04H, 04H, 1CH, E4H, 44H, 00H 80H, 80H, 88H, 98H, A0H, C0H, 80H, 80H
- 18 -
User's Manual
Bottom right 80H, 80H, 80H, 8CH, 82H, 82H, 7EH, 00H 83H
Write into CGRAM WRCG: MOV R2, #03H MOV R3, #00H MOV R4, #22H ; set offset register LCALL WR MOV DPTR, #TAB1 ; matrix data home address MOV R2, #00H MOV R3, #1CH ; CGRAM address MOV R4, #24H ; set address pointer LCALL WR MOV R4, #0B0H ; set auto write LCALL WR2 MOV R2, #20H ; number of matrix data WRCG1: LCALL BF3 ; check status STA3 CLR A MOVC A, @A+DPTR ; read matrix data LCALL WR4 ; write into CGRAM INC DPTR DJNZ R2, WRCG1 MOV R4, #0B2H ; auto reset LCALL WR2 RET TAB1: DB 04H, 04H, 04H, 04H, 04H, 7CH, 04H, 04H DB 04H, 04H, 04H, 04H, 1CH, 0E4H, 44H, 00H DB 80H, 80H, 88H, 98H, 0A0H, 0C0H, 80H, 80H DB 80H, 80H, 80H, 80H, 82H, 82H, 7EH, 00H 5-8-4. Chinese Characters Display Matrix data of Chinese character are in the sequence of top left corner8 bytes from top to bottom left bottom left corner8 bytes from top to bottom top right corner (8 bytes from top to bottom bottom right corner(8 bytes from top to bottom. 1 Display of Chinese Character in Text Mode In this mode, only 64 Chinese characters with 16X16 dots can be entered as a maximum. (4 character codes for a Chinese character) The address pointer is already positioned on the top left corner of the character to be entered. Register to be used: R2, R3, R4, A; input register: R3 store Chinese character codes
- 19 -
User's Manual WRHZT: MOV R4, #0C0H LCALL WR1 INC R3 INC R3 LCALL WR1 DEC R3 MOV R2, #1CH MOV R4, #0C1H LCALL WR2 DJNZ R2, WRHZT1 ; data writeaddress+1 ; R3 set in the main program, for example R3=80H
; R3=82H ; R3=81H ; data read, address+1 ; move the address pointer to the left bottom corner of the Chinese character
WRHZT1:
MOV R4, #0C0H LCALL WR1 INC R3 INC R3 LCALL WR1 RET
; R3=83H
2 Display of Chinese character in the graphic mode This method is to build a Chinese character storage area in the ROM of MPU system, the Chinese character matrix should be input byte by byte in graphic mode. Register to be used: A, R2, R3, R4 DPTR is a home address of one Chinese character matrix array and will be assigned in the main program. WRHZG: MOV R2, #10H ; number of cycles MOV A, #00H WRHZG1: PUSH ACC ; push code into stack MOVC A, @A+DPTR ; read character matrix MOV R3, A MOV R4, #0C0H LCALL WR1 POP ACC ; pop code from stack PUSH ACC ; push code into stack ADD A, #10H ; locate the pointer to the matrix of the byte on the right MOVC A, @A+DPTR ; read character matrix MOV R3, A LCALL WR1
- 20 -
User's Manual MOV A, R2 MOV R3, A MOV R2, #1CH MOV R4, #0C1H WRHZG2: LCALL WR2 DJNZ R2, WRHZG2 MOV A, R3 MOV R2, A POP ACC INC A DJNZ R2, WRHZG1 RET 5-8-5. Application of Text Attribute Mode ; R3=R2 ; number of cycles ; change the address pointer
; recover R2 ; pop code of stack ; code+1
Display the character string "WELCOME!" on the top left corner of the screen: "WELCOME" blink of reverse display; " , normal display. The subprogram , " is TCRin which TAB2 acts as character code and TAB3 as corresponding text attribute code. TCR: MOV R4, #9CH ;start the text and graphic mode LCALL WR2 MOV R4, #84H ; text attribute mode set LCALL WR2 MOV R2, #00H MOV R3, #00H MOV R4, #24H ; address pointer set LCALL WR MOV R2, #00H ; number of characters TCR1: MOV DPTR, #TAB2 ; table of characters MOV A, R2 MOVC A, @A+DPTR MOV R3, A MOV R4, #0C0H LCALL WR1 INC R2 CJNE R2, #08H, TCR1 MOV R2, #00H MOV R3, #08H MOV R4, #24H ; address pointer set LCALL WR MOV R2, #00H ; number of characters TCR2: MOV DPTR, #TAB3 ; table of characters MOV A, R2
- 21 -
User's Manual MOVC A, @A+DPTR MOV R3, A MOV R4, #0C0H LCALL WR1 INC R2 CJNE R2, #08H, TCR2 RET TAB2: DB 37H, 25H, 2CH, 23H, 2FH, 2DH, 25H, 01H TAB3: DB 0DH, 0DH, 0DH, 0DH, 0DH, 0DH, 0DH, 08H 5-8-6. Application Program For example, to display" "on the top left corner of the screen, the program is: ORG 0000H STAR: LCALL INI ; initialize MOV R2, #00H ; display" " MOV R3, #00H MOV R4, #24H LCALL WR MOV R3, #01H MOV R4, #0C0H LCALL WR1 RET The flow chart of this program is as follows:
CLEAR DDRAM
SET TEXT AERA
SET GRAPHIC AERA
SET DISPLAY MODE
TEXT ON
DISPLAY CHAR.S
END
- 22 -
User's Manual
6. Quality level
6-1. 6-1-1. Inspection conditions The environmental conditions for inspection shall be as follows: Room temperature: 203 Humidity: 6520% RH
6-1-2. The external visual inspection: Using a 20W fluorescent lamp for illumination shall perform the inspection. The distance between LCD and the inspector's eyes should be at least 30cm. 6-1-3. (1) Light method
(2) Inspection distance and angle
6-2. Sampling procedures for each item's acceptance level table
Defect type Major defect Sampling procedure MIL-STD-105D Inspection Level I Normal inspection Single sample inspection MIL-STD-105D Inspection Level I Minor defect Normal inspection Single sample inspection Q/ED-01-98(II) Q/ED-01-98(II) AQL
- 23 -
User's Manual 6-3. Classification of defects 6-3-1. Major defect A major defect refers to a defect that may substantially degrade usability for product applications. 6-3-2. Minor defect A minor defect refers to a defect that deviates from existing standards almost unrelated to the effective use of the product or its operation. 6-4 .Inspection standards
Defect type Major
Item 1) Display on inspection (1) Non display
Criterion for defects (2) Vertical line is deficient Acceptable number Ignore (note) 3 1 0
(3) Horizontal line is deficient (4) Cross line is deficient Size (mm) 0.3 0.3<0.45 0.45<0.6 0.3<
2) BlackWhite spot
Minor
(Note) Not allowed if four more spots crowd together Length (mm) L10 5.0L10 3) BlackWhite line 5.0L10 1.0L10 1.0L10 Width (mm) W0.03 0.03L10 0.08Defects separate with each other at an interval of more than 20mm.
4) Display pattern [Unit: mm] A+B0.45 0Minor
- 24 -
User's Manual
Item Criterion for defects Size (mm) 0.7 5) Spot-like contrast irregularity 0.7<1.0 1.0<1.5 1.5< Note: 1) Conformed to limit samples. 2) Intervals of defects are more than 30mm. 7) Scratches and dent on the polarizer 8) Stains on the surface of LCD panel 9) Rainbow color 10) Viewing area encroachment 11) Bezel appearance 12) Defect of land surface contact 13) Parts mounting Scratches and dent on the polarizer shall be in the accordance with "2) Black/white spot", and "3) Black/White line". Stains which cannot be removed even when wiped lightly with a soft cloth or similar cleaning. No rainbow color is allowed in the optimum contrast on state within the active area. Polarizer edge or line is visible in the opening viewing area due to polarizer shortness or sealing line. Rust and deep damages that are visible in the bezel are rejected. Evident crevices that are visible are rejected. (1) Failure to mount parts (2) Parts not in the specifications are mounted (3) For example: Polarity is reversed, HSC or TCP falls off. 14) Part alignment (1) LSI, IC lead width is more than 50% beyond pad outline. (2) More than 50% of LSI, IC leads is off the pad outline. (1) 0.45<, N1 15) Conductive foreign matter (solder ball, solder hips) (2) 0.3<0.45, (3) 0.5- 25 -
User's Manual
Item Criterion for defects (1) Failure to stamp or label error, or not legible (all acceptable if 19) Indication on name plate (sampling indication label) legible). (2) The separation is more than 1/3 for indication discoloration, in which the characters can be checked. Minor Defect type
7. Reliability
7-1 Lifetime 50,000 hours (25 in the room without ray of sun) 7-2 Items of reliability (See the next page)
Item 1) High Temperature Operating 2) Low Temperature Operation 3) Humidity 4) 5) High Temperature Low Temperature 6) Thermal shock 40, 90%RH, 96hrs 70 -30 96hrs 96hrs No cosmetic failure is allowable. Contrast ratio should be between initial value 20%. Total current consumption should be below double of initial value. -20 96hrs 60 96hrs Condition Criterion No cosmetic failure is allowable. Contrast ratio should be between initial value 10%. Total current consumption should be below double of initial value.
25302570 5(min) 30(min) 5(min) 30(min) 5 cycle, 55~60%RH 10~55~10hz
No defects in cosmetic and operational function are allowable. Total current consumption should be below double of initial value.
7) Vibration
amplitude: 1.5mm 2hrs for each direction (X,Y,Z)
8. Handling precautions
8-1 Mounting method A panel of LCD module made by Dalian Eastern Display Co., Ltd. consists of two thin glass plates with polarizers that easily get damaged. And since the module is constructed and fixed by utilizing fitting holes in the Printed Circuit Board (PCB), extreme care should be used when handling the LCD modules. 8-2 Cautions of LCD handling and cleaning
- 26 -
User's Manual When cleaning the display surface, wipe lightly with soft cloth with solvents (recommended below). Isopropyl alcohol Ethyl alcohol Trichlorotriflorothane Do not wipe the display surface with dry or hard materials that may damage the polarizer surface. Do not use the following solvents: Water Ketene Aromatics 8-3 Caution against static charge The LCD module uses C-MOS LSI drivers. So we recommend you: Connect any unused input terminal to Vdd or Vss. Do not input any signals before power turns on, and ground your body, work/assembly areas, and assembly equipment to protect against static electricity. 8-4 Packaging - A module employs LCD elements, and must be treated as such. Avoid intense shock and falls from a height. - To prevent modules from degradation, do not operate or store them exposed direct to sunshine or high temperature/humidity. 8-5 Caution for operation - It is an indispensable condition to drive LCD module within the limits of the specified voltage since the higher voltage over the limits may cause the shorter life of LCD module. An electrochemical reaction due to DC (direct current) causes LCD undesirable deterioration so that the uses of DC (direct current) drive should be avoided. - Response time will be extremely delayed at lower temperature than the operating temperature range and on the other hand at higher temperature LCD module may show dark color in them. However those phenomena do not mean malfunction or out of order of LCD module, which will come back in the specified operating temperature. 8-6 Storage In the case of long time storage, the following ways are recommended: - To be stored in polyethylene bag with the opening sealed so as to prevent fresh air out. Do not put desiccant into the bag. - To be placed in a dark place where there is neither exposure to direct sunlight nor light. Keep within the storage temperature range. - To be stored with no touch on polarizer surface by any thing else.
- 27 -
User's Manual 8-7 Safety - It is recommended to crash damaged or unnecessary LCD into pieces and to wash off liquid crystal by either of solvents such as acetone and ethanol, which should be burned up later. - When any liquid leaked out of a damaged glass cell comes in contact with your hands, please wash it off with soap and water at once.
9. Precaution for use
9-1 Both parties should provide a limit sample on an occasion when both parties agree to its necessity. The judgement by a limit sample shall take effect after the limit sample has been established and confirmed by both parties 9-2 On the following occasions, the handling of problem should be decided through discussion and agreement between responsible of the both parties. - When a question is arisen in this manual. - When a new problem is arisen which is not specified in this manual. - Some problem is arisen due to the change of inspection and operating conditions in users. - When a new problem is arisen at the customer's operating set for sample evaluation in the customer site.
10. Appendix
Character Code Table
- 28 -


▲Up To Search▲   

 
Price & Availability of GDM240128A

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X